package vn.igolf.core;

import vn.igolf.geo.Point;

public class MinhScreenMap extends ScreenMap {

	public MinhScreenMap(String file) {
		super(file);
	}

	@Override
	public Point convertMiniPointToScreenPoint(Point miniPoint) {
		Point ret = new Point (0,0);
		
		ret.setX( miniPoint.getX() / this.getMiniMap().getWidth() * this.getWidth());
		ret.setY( miniPoint.getY() / this.getMiniMap().getLength() * this.getLength());
		
		return ret;
	}

}
